<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>pvm_parent</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab function</center>
    <div align="right">Last update : 13/07/2005</div>
    <p>
      <b>pvm_parent</b> -  tid of the process that spawned the calling process.  </p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>tid = pvm_parrent()  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>tid</b>
        </tt>: integer, the task identifier of the parent of the calling process.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>pvm_parent</b>
      </tt> 
    returns the <tt>
        <b>tid</b>
      </tt> of the process
    that spawned the calling process.
    If the calling process was
    not created with <tt>
        <b>pvm_spawn</b>
      </tt>, 
    then <tt>
        <b>tid</b>
      </tt> is set to
    <tt>
        <b>PvmNoParent=-23</b>
      </tt>
    </p>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="pvm_spawn.htm">
        <tt>
          <b>pvm_spawn</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
